/* nav hover ie fix */
$(document).ready(function() {
    //call the jQuery Hover Over and Out
    $('#nav li').hover(over, out);
    //when hovered over
    function over(event) {
        $(this).addClass("on");
    }
    //going outside the object area
    function out(event) {
	    $(this).removeClass("on");
	}
});

/* showcase */
$(function() { 
 
    // initialize scrollable 
    $("div.scrollable").scrollable(
	{size: 6}
	); 
 
});
$(document).ready(function() { 
 
    // initialize tooltip 
    $("#nav li [title]").tooltip({ 
     
        // use single tooltip element for all tips 
        tip: '.tooltip',  
         
        // tweak the position 
        position: 'bottom center', 

		relative: 'true',
         
		// delay 1000 miliseconds
		delay: 1000
         
    // add dynamic plugin  
    }).dynamic( { 
     
        // customized configuration on bottom edge 
        bottom: { 
         
            // slide downwards 
            direction: 'down'
        } 
    }); 
     
});